//
//  CarLatest_focusListModel.m
//  CarProjectTest
//
//  Created by lanou on 15/10/24.
//  Copyright © 2015年 完美的宇gogo. All rights reserved.
//

#import "CarLatest_focusListModel.h"
#import "CarLatest_focusImgsModel.h"

@implementation CarLatest_focusListModel


-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}

-(void)setValue:(id)value forKey:(NSString *)key
{
    if ([key isEqualToString:@"focusImgs"])
    {
        _focusImgs = [NSMutableArray array];
        for (NSDictionary *dic in value)
        {
            CarLatest_focusImgsModel *model = [[CarLatest_focusImgsModel alloc]init];
            [model setValuesForKeysWithDictionary:dic];
            [self.focusImgs addObject:model];
        }
    }
    else
    {
        [super setValue:value forKey:key];
    }
}



@end
